<?php
class Frontend_IndexController extends Custom_Controller_Action
{
    public function indexAction()
    {
        $this->view->categories = Wenda::getModel('Category')
            ->getCached('idx_category')->getAll();
        $this->view->recommendQueries = Wenda::getModel('Query')->getIssued();
        $this->view->issuedQueries = Wenda::getModel('Query')->getIssued();
        $this->view->resolvedQueries = Wenda::getModel('Query')->getIssued();
        $this->view->hightRewardQueries = Wenda::getModel('Query')->getIssued();
        $this->view->noAnswerQueries = Wenda::getModel('Query')->getIssued();
    }
}

